<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>js object</title>
		<script>
			var f=new Object();
			f.name="玫瑰";
			f.type="蔷薇科";
			f.price=1999;
			f.showSelf=function(){
				alert("这种花叫"+this.name+","+this.type+",price="+this.price);//this
			}
			f.showSelf();
			f.price=998;
			f.showSelf();
		</script>
	</head>
	<body>
	</body>
</html>
